package com.tangcco.lockwell.viewmodel.admin.user;

public class UserLearningProgress {
    private Integer subjectId;
    private Integer parentId;
    private String categoryName;
    private double progress;

    public UserLearningProgress() {
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public double getProgress() {
        return progress;
    }

    public void setProgress(double progress) {
        this.progress = progress;
    }

    public UserLearningProgress(Integer subjectId, Integer parentId, String categoryName, double progress) {
        this.subjectId = subjectId;
        this.parentId = parentId;
        this.categoryName = categoryName;
        this.progress = progress;
    }

    @Override
    public String toString() {
        return "UserLearningProgress{" +
                "subjectId=" + subjectId +
                ", parentId=" + parentId +
                ", categoryName='" + categoryName + '\'' +
                ", progress=" + progress +
                '}';
    }
}
